﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MovieHallManager.aspx.cs" Inherits="UI.Admin.MovieHallManager" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container body-content">
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="HallId,SeatId" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField DataField="HallId" HeaderText="HallId" ReadOnly="True" SortExpression="HallId" />
                <asp:BoundField DataField="HallSeats" HeaderText="HallSeats" SortExpression="HallSeats" />
                <asp:BoundField DataField="HallDescription" HeaderText="HallDescription" SortExpression="HallDescription" />
                <asp:BoundField DataField="SeatId" HeaderText="SeatId" ReadOnly="True" SortExpression="SeatId" />
                <asp:BoundField DataField="SeatRow" HeaderText="SeatRow" SortExpression="SeatRow" />
                <asp:BoundField DataField="SeatColumn" HeaderText="SeatColumn" SortExpression="SeatColumn" />
                <asp:CheckBoxField DataField="SeatIsActive" HeaderText="SeatIsActive" SortExpression="SeatIsActive" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SouthWindConnectionString %>" SelectCommand="SELECT * FROM [HallInfo]"></asp:SqlDataSource>
    </div>
    <link href="Content/CommonStyleSheet.css" rel="stylesheet" type="text/css" />
</asp:Content>
